package cn.yzh;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @author 严志辉
 * 创建 2020/8/20 9:38
 * @version 1
 */
@SpringBootApplication
@EnableEurekaServer//----表示为注册中心
public class EurekaeApplication {
    public static void main(String[] args) {
        SpringApplication.run(EurekaeApplication.class,args);
    }
}
